Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Managing Bitmaps


Q3Bitmap_GetImageSize

You can use the Q3Bitmap_GetImageSize function to determine how much memory is occupied by a bitmap of a particular size.

unsigned long Q3Bitmap_GetImageSize (
unsigned long width, 
unsigned long height);
width
The width, in bits, of a bitmap.
height
The height of a bitmap.
DESCRIPTION
The Q3Bitmap_GetImageSize function returns, as its function result, the size, in bytes, of the smallest block of memory required to hold a bitmap having a width and height specified by the width and height parameters, respectively.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996